/*--------------------------------*- C++ -*----------------------------------*\
  | =========                 |                                                 |
  | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  |  \\    /   O peration     | Version:  2.3.0                                 |
  |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
  |    \\/     M anipulation  |                                                 |
  \*---------------------------------------------------------------------------*/
FoamFile
{
  version     2.0;
  format      ascii;
  class       dictionary;
  location    "system";
  object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     blastFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         42e-3;

writeControl    adjustableRunTime;

writeInterval   2e-3;

writeFormat     binary;

writePrecision  12;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  yes;

deltaT          1e-8;

maxCo           0.5;

// ************************************************************************* //


functions
{
    impulse
    {
        type                impulse;

        writeControl        writeTime;
        pRef                101298;
    }
    overpressure
    {
        type                overpressure;

        writeControl        writeTime;
        store               yes;
        pRef                101298;
    }
    maxPImpulse
    {
        type                fieldMinMax;

        writeControl        writeTime;
        fields
        (
            overpressure
            impulse
        );
    }

    pressureProbes
    {
        type                blastProbes;
        writeControl        timeStep;
        writeInterval       1;
        adjustLocations     yes;
        append yes;
        probeLocations
        (
            // probe locations in ( x y z ) format
            // unlimited number -- needs to be inside the domain!
(20.0 0 0)
(20.0 0 1.3)
(20.0 0 2.6)
(20.0 0 4)
(15.0 0 0)
(15.0 0 1.3)
(15.0 0 2.6)
(15.0 0 4)

        );
        fields
        (
            p
	    overpressure
            impulse
        );
    }
};

// ************************************************************************* //